<template>
  <el-container>
    <el-aside width="200px">
      <!-- 引入MyMenu组件 生成动态菜单 -->
      <MyMenu></MyMenu>
    </el-aside>
    <el-main>
      <router-view></router-view>
    </el-main>
  </el-container>
</template>
<script>
import MyMenu from '@/components/MyMenu.jsx'
export default {
  components: {
    MyMenu
  }
}
</script>
<style scoped>
.menu {
  border-right: none;
}
.el-aside {
  background: #333;
  opacity: 0.8;
}
</style> 